package com.zito.health.mapper;

import com.zito.health.dto.UserDto;
import com.zito.health.entity.User;
import com.zito.health.vo.UserVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface UserMapper extends Mapper<User> {

    UserDto queryUserById(Integer id);

    List<UserVo> queryList(UserVo param);

    List<User> validateUsername4Update(User u);

    List<UserVo> list4Admin(UserVo param);
}
